package com.wf.course.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.utils.page.PageBean;
import com.wf.course.dao.ISysUserLoginMapper;
import com.wf.course.model.log.LoginLogs;
import com.wf.course.service.ISysUserLoginService;

@Service
@Transactional
public class ISysUserLoginServiceImpl implements ISysUserLoginService{

	@Autowired
	private ISysUserLoginMapper iSysUserLoginMapper;
	
	@Override
	public void indexInfo(PageBean<LoginLogs> pageBean) {
		
		pageBean.check();
		
		pageBean.setResults(iSysUserLoginMapper.getByCons(pageBean));
		pageBean.setTotalCount(iSysUserLoginMapper.getTotalCount(pageBean));
		
		pageBean.setUrl("sysUserloginlog/list");
		
		pageBean.setParams();
		
	}
}
